import typescript from "@rollup/plugin-typescript";

export default {
    input:'src/index.ts',
    output:[
        {
            format:'cjs',
            file:'dist/index.js',
            exports:'auto'
        },
        {
            file:'esm/index.js',
            format: "esm"
        },
        {
            file:'umd/index.js',
            format: 'umd',
            sourcemap:true,
            name:'ListVueRouter'
        }
    ],
    plugins:[typescript()]
}
